
// 顶部
.top{
    width: 100%;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    .top-box{
        width: 1180px;
        height: 40px;
        color: #fff;
        margin: 0 auto;
        display:flex;
        justify-content: space-between;
        .top-nav-list{
            width: 300px;
            height: 100%;
            ul{
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 300px;
                height: 100%;

                li{
                    cursor: pointer;
                }
            }
        }
        .top-user-box{
            // width: 100px;
            height: 40px;
            .loginAndRegister{
                float: left;
                // width: 100px;
                height: 40px;
                line-height: 40px;
                span{
                    float: left;
                    // width: 100px;
                    display: block;
                    color: #fff;
                }
                a{
                    float: left;
                    display: block;
                    color: #fff;
                    margin-left: 20px;
                }
            }
            .cart-box{
                float: left;
                a{
                    height: 40px;
                    line-height: 40px;
                    color: #fff;
                    font-size: 22px;
                    font-weight: bold;
                    margin-left: 20px;
                }

            }
        }
    }
}
// 头部
.head{
    width: 100%;
    margin-top: 40px;
    background-color: #fff;
    .head-box{
        width: 1180px;
        margin: 0 auto;
        padding: 30px 0 36px 0;
        .logo-box{
            margin-right: 50px;
            float: left;
            width: 180px;
            height: 36px;
            a{
                width: 180px;
                height: 36px;
                display: block;
                background-image: url(../images/index01.png);
                background-size: 180px 36px;
            }
        }
        .nav-box{
            float: left;
            width: 500px;
            height: 36px;
            line-height: 36px;
            ul{

                li{
                    float: left;
                    font-size: 18px;
                    color: #333;
                    margin-right: 50px;
                }
            }
        }
        .search-box{
            float: right;
            height: 100%;
            position: relative;
            width: 420px;
            .search-bar{
                background: rgba(255,255,255,0.8);
                border: 1px solid #ccc;
                border-radius: 18px;
                box-sizing: border-box;
                height: 100%;
                padding: 5px 30px;
                position: relative;
                text-align: left;
                width: 100%;
                .search-ipt{
                    background: transparent;
                    height: 24px;
                    outline: none;
                    padding: 0;
                    width: 340px;
                    border: 0;
                }
                .big-search{
                    background-position: -170px -48px;
                    cursor: pointer;
                    width: 24px;
                    height: 24px;
                    position: absolute;
                    right: 20px;
                    top: 5px;
                    width: 24px;
                    background-image: url(../images/index02.png);
                    background-repeat: no-repeat;
                    background-size: 200px 240px;
                    display: inline-block;
                    }
                }
            .search-text{
                color: #666;
                font-size: 12px;
                line-height: 15px;
                overflow: hidden;
                padding: 6px 30px 0;
                text-align: left;
                ul{
                    width: 300px;
                    color: #666;
                    padding-top: 6px;
                    display: flex;
                    justify-content: space-between;
                    li{
                        cursor: pointer;
                    }
                }
            }
            }
        }
}
// 轮播区域
.banner{
    height: 530px;
    position: relative;
    width: 100%;
    margin-top: -30px;
    // 轮播图
    .banner-box{
        height: 530px;
        position: relative;
        width: 100%;
        overflow: hidden;
        ul{
            padding: 0;
            margin: 0;
            position: absolute;
            left: 0;
            top: 0;
            li{
                float: left;
                a{
                    img{
                        transform: translateX(-10%);
                        width: 1920px;
                        height: 530px;
                    }
                }
            }
        }
        ol{
            padding: 0;
            margin: 0;
            height: 20px;
            border-radius: 10px;
            // background-color: rgba(255,255,255,.7);
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 8px;
            li{
                width: 12px;
                height: 12px;
                float:left;
                margin: 8px;
                background-color: #666;
                border-radius: 50%;
            }
        }
        .slide{
            color: #666;
        }
        .leftBtn{
            background-position: -179px -143px;
            left: 50%;
            margin-left: -360px;
            background-image: url(../images/index03.png);
            background-repeat: no-repeat;
            background-color: rgba(0,0,0,0.4);
            border-radius: 2px;
            height: 72px;
            margin-top: -36px;
            position: absolute;
            top: 50%;
            width: 42px;
            opacity: 0.5;
            // z-index: 15;
        }
        .rightBtn{
            background-position: -177px -74px;
            margin-right: -590px;
            right: 50%;
            background-image: url(../images/index03.png);
            background-repeat: no-repeat;
            background-color: rgba(0,0,0,0.4);
            border-radius: 2px;
            height: 72px;
            margin-top: -36px;
            position: absolute;
            top: 50%;
            width: 42px;
            opacity: 0.5;
            // z-index: 15;
        }
        
    }  
    // 选项卡
    .category-box{
        background: rgba(51,51,51,0.7);
        height: 530px;
        width: 230px;
        position: absolute;
        top: 0;
        left: 170px;
        font-size: 16px;
        color: #fff;
        .item-all{
            background: rgba(51,51,51,0.6);
            height: 50px;
            padding: 0;
            text-align: center;
            line-height: 50px;
        }
        .item-box{
            width: 100%;
            height: 350px;
            cursor: pointer;
            li{
                width: 100%;
                height: 50px;
                text-align: center;
                line-height: 50px;
            }
            .active{
                background: rgba(51,51,51,0.6);
            }
        }
        .right-box{
            position: relative;
            .right-wrapper{
                box-sizing: border-box;
                width: 890px;
                height: 530px;
                background-color:#fff;
                position: absolute;
                left: 230px;
                top:-400px;
                display: none;
                li{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    display: none;
                    .level-box{
                        width: 125px;
                        height: 65px;
                        font-size: 14px;
                        color:black;
                        margin-left: 50px;
                        margin-top: 10px;
                        display: flex;
                        justify-content: space-evenly;
                        align-items: center;
                        float: left;
                        p{
                            width: 65px;
                            img{
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
                }
                .active{
                    display: block;
                }
            }
        }
    }
}
// 内容区域一
.content-top{
    width: 100%;
    .container-top{
        width: 1180px;
        margin: 0 auto;
        .container-top-text{
            color: #333;
            font-size: 20px;
            height: 24px;
            line-height: 24px;
            margin: 0 auto;
            text-align: left;
            width: 1180px;
            margin-top: 10px;
        }
        .middle-box{
            width: 100%;
            margin-top: 10px;
            display: flex;
            justify-content: space-between;
            a{
                display: block;
                width: 280px;
                height: 242px;
                border-radius: 4px;
                margin-top: 0px;
                margin-bottom: 20px;
                overflow: hidden;
                transition: all 0.5s ease;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .bottomImg-box{
            a{
                background-image: url(../images/content-top05.jfif);
                height: 120px;
                background-repeat: no-repeat;
                background-position: center top;
                display: block;
                margin-top: -10px;
                padding: 0;
            }

        }
    }
}
// 内容区域二
.content-top-tow{
    width: 100%;
    .container-top{
        width: 1180px;
        margin: 0 auto;
        .container-top-text{
            color: #333;
            font-size: 20px;
            height: 24px;
            line-height: 24px;
            margin: 0 auto;
            text-align: left;
            width: 1180px;
            margin-top: 10px;
            span{
                margin-right: 10px;
            }
            a{
                color: #666;
                font-size: 14px;
                line-height: 14px;
            }
        }
        .floor-box{
            width: 100%;
            margin-top: 10px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            .first{
                border-radius: 4px;
                width:580px;
                height: 460px;
                padding: 0;
                image{
                    width: 100%;
                    height: 100%;
                }
            }
            a{
                display: block;
                width: 280px;
                height: 460px;
                border-radius: 4px;
                margin-top: 0px;
                margin-bottom: 20px;
                overflow: hidden;
                box-sizing: border-box;
                padding: 30px 20px;
                transition: all 0.5s ease;
                .top-label{
                    height: 20px;
                    margin: 0 auto;
                    width: 80px;
                    background: #f17f38;
                    color: #fff;
                    box-sizing: border-box;
                    font-size: 14px;
                    line-height: 20px;
                    text-align: center;
                }
                .item-img{
                    width: 240px;
                    height: 240px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
                .name{
                    font-size: 18px;
                    line-height: 25px;
                    text-align: center;
                    margin-top: 30px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                .desc{
                    color: #999;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    display: block;
                    font-size: 14px;
                    line-height: 20px;
                    text-align: center;
                }
                .price{
                    line-height: 36px;
                    margin-top: 10px;
                    text-align: center;
                    .cur-price{
                        color: #dd0e00;
                        font-size: 20px;
                    }
                    .old-price{
                        color: #999;
                        font-size: 14px;
                        text-decoration: line-through;
                    }
                }
            }
        }
        .bottomImg-box{
            a{
                height: 120px;
                background-repeat: no-repeat;
                background-position: center top;
                display: block;
                margin-top: -10px;
                padding: 0;
            }
            a.one{
                background-image: url(../images/index/content-bt02.jpg);
            }
            a.tow{
                background-image: url(../images/index/content-bt03.jpg);
            }
            a.three{
                background-image: url(../images/index/content-bt04.jpg);
            }
            a.four{
                background-image: url(../images/index/content-bt05.jpg);
            }
            a.five{
                background-image: url(../images/index/content-bt06.jpg);
            }

        }
        .six{
            font-size: 18px;
            text-align: center;
            span{
                display: inline-block;
                padding: 5px 100px;
            }
        }
    }
}
// 网页商城简介区域
.helper-floor{
    width: 100%;
    background-color: #fff;
    .footer-box{
        margin: 0 auto;
        width: 1240px;
        padding: 60px 0;
        .helper-box{
            float: left;
            margin-right: 100px;
            .helper-title{
                font-size: 18px;
                font-weight: 700;
                line-height: 30px;
                margin-bottom: 27px;
            }
            .helper-text{
                display: block;
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 6px;
            }
        }
        .about-box{
            width: 320px;
            .follow-box{
                border-top: 1px solid #666;
                line-height: 30px;
                margin-top: 20px;
                padding-top: 19px;
            }
        }
        .lnk-box{
            .helper-text{
                color: #666;
            }
        }
        .contact-box{
            float: right;
            border-left: 1px solid #979797;
            min-height: 230px;
            text-align: center;
            width: 300px;
            margin-right: 0;
            .big-text{
                font-weight: 700;
                font-size: 28px;
                line-height: 30px;
            }
            .small-text{
                color: #999;
                font-size: 14px;
                line-height: 30px;
            }
        }
    }
}
// 网页右侧区域
.mod-right-side{
    border-left: 1px solid #e7e7e7;
    width: 39px;
    height: 100%;
    background: rgba(255,255,255,0.8);
    position: fixed;
    right: 0;
    top: 0;
    .right-middle-box{
        position: absolute;
        right: 0;
        width: 100%;
        top:30%;
        a{
            box-sizing: border-box;
            display: block;
            height: 36px;
            padding: 10px;
            i{
                width: 20px;
                height: 20px;
                background-image: url(../images/productDetails/icon.png);
                background-repeat: no-repeat;
                background-size: 200px 240px;
                display: inline-block;
            }
        }
        a:nth-child(1)>i{
            background-position: -172px -81px;
        }
        a:nth-child(2)>i{
            background-position: -172px -104px;
        }
        a:nth-child(3)>i{
            background-position: -172px -129px;
        }
    }
    .right-bottom-box{
        bottom: 160px;
        position: absolute;
        right: 0;
        width: 100%;
        a{
            box-sizing: border-box;
            display: block;
            height: 36px;
            padding: 10px;
            i{
                width: 20px;
                height: 20px;
                background-image: url(../images/productDetails/icon.png);
                background-repeat: no-repeat;
                background-size: 200px 240px;
                display: inline-block;
            }
        }
        a:nth-child(1)>i{
            background-position: -172px -154px;
        }
        a:nth-child(2)>i{
            height: 0;
            transition: height 1s;
            background-position: -172px -180px;
        }
    }
}
// 版权区域
.copyright-floor{
width: 100%;
background: #333;
color: #fff;
.footer-box{
    margin: 0 auto;
    width: 1240px;
    .service-policy-list{
        border-bottom: 1px solid #666;
        padding: 25px 0;
        text-align: center;
        .policy-item{
            color: #fff;
            display: inline-block;
            font-size: 24px;
            line-height: 30px;
            margin-right: 150px;
            vertical-align: top;
        }
    }
    .copyright-line{
        font-size: 14px;
        line-height: 20px;
        padding: 18px 0 21px;
        text-align: center;
        a{
            color: #fff;
        }
    }
}
}
 
